package cj.web.sc.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 商城订单表
 */
public class SCOrder extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -6290668297237271311L;
	protected Integer id;
	protected String buyerId;
	protected Integer sellerId;
	protected String sellerName;
	protected String sellerLogo;
	protected String orderNo;
	protected String wxTradeNo;
	protected Double orginPrice;
	protected Double discntPrice;
	protected String receiverName;
	protected String receiverPhone;
	protected String receiverAddress;
	protected Integer isInvoice;
	protected String invoiceHead;
	protected String memo;
	protected String expressCom;
	protected String expressBill;
	protected Integer status;
	protected Integer deleteFlag;
	protected String createAt;
	protected String createUser;
	protected String updateAt;
	protected String updateUser;
	protected String payWay;
	protected String payAt;
	protected Integer exportFlag;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getBuyerId() {
		return buyerId;
	}
	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}
	public Integer getSellerId() {
		return sellerId;
	}
	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}
	public String getSellerName() {
		return sellerName;
	}
	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	public String getSellerLogo() {
		return sellerLogo;
	}
	public void setSellerLogo(String sellerLogo) {
		this.sellerLogo = sellerLogo;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public String getWxTradeNo() {
		return wxTradeNo;
	}
	public void setWxTradeNo(String wxTradeNo) {
		this.wxTradeNo = wxTradeNo;
	}
	public Double getOrginPrice() {
		return orginPrice;
	}
	public void setOrginPrice(Double orginPrice) {
		this.orginPrice = orginPrice;
	}
	public Double getDiscntPrice() {
		return discntPrice;
	}
	public void setDiscntPrice(Double discntPrice) {
		this.discntPrice = discntPrice;
	}
	public String getReceiverName() {
		return receiverName;
	}
	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}
	public String getReceiverPhone() {
		return receiverPhone;
	}
	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}
	public String getReceiverAddress() {
		return receiverAddress;
	}
	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress;
	}
	public Integer getIsInvoice() {
		return isInvoice;
	}
	public void setIsInvoice(Integer isInvoice) {
		this.isInvoice = isInvoice;
	}
	public String getInvoiceHead() {
		return invoiceHead;
	}
	public void setInvoiceHead(String invoiceHead) {
		this.invoiceHead = invoiceHead;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getExpressCom() {
		return expressCom;
	}
	public void setExpressCom(String expressCom) {
		this.expressCom = expressCom;
	}
	public String getExpressBill() {
		return expressBill;
	}
	public void setExpressBill(String expressBill) {
		this.expressBill = expressBill;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getPayWay() {
		return payWay;
	}
	public void setPayWay(String payWay) {
		this.payWay = payWay;
	}
	public String getPayAt() {
		return payAt;
	}
	public void setPayAt(String payAt) {
		this.payAt = payAt;
	}
	public Integer getExportFlag() {
		return exportFlag;
	}
	public void setExportFlag(Integer exportFlag) {
		this.exportFlag = exportFlag;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((buyerId == null) ? 0 : buyerId.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result
				+ ((discntPrice == null) ? 0 : discntPrice.hashCode());
		result = prime * result
				+ ((exportFlag == null) ? 0 : exportFlag.hashCode());
		result = prime * result
				+ ((expressBill == null) ? 0 : expressBill.hashCode());
		result = prime * result
				+ ((expressCom == null) ? 0 : expressCom.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((invoiceHead == null) ? 0 : invoiceHead.hashCode());
		result = prime * result
				+ ((isInvoice == null) ? 0 : isInvoice.hashCode());
		result = prime * result + ((memo == null) ? 0 : memo.hashCode());
		result = prime * result + ((orderNo == null) ? 0 : orderNo.hashCode());
		result = prime * result
				+ ((orginPrice == null) ? 0 : orginPrice.hashCode());
		result = prime * result + ((payAt == null) ? 0 : payAt.hashCode());
		result = prime * result + ((payWay == null) ? 0 : payWay.hashCode());
		result = prime * result
				+ ((receiverAddress == null) ? 0 : receiverAddress.hashCode());
		result = prime * result
				+ ((receiverName == null) ? 0 : receiverName.hashCode());
		result = prime * result
				+ ((receiverPhone == null) ? 0 : receiverPhone.hashCode());
		result = prime * result
				+ ((sellerId == null) ? 0 : sellerId.hashCode());
		result = prime * result
				+ ((sellerLogo == null) ? 0 : sellerLogo.hashCode());
		result = prime * result
				+ ((sellerName == null) ? 0 : sellerName.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result
				+ ((wxTradeNo == null) ? 0 : wxTradeNo.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		SCOrder other = (SCOrder) obj;
		if (buyerId == null) {
			if (other.buyerId != null)
				return false;
		} else if (!buyerId.equals(other.buyerId))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (discntPrice == null) {
			if (other.discntPrice != null)
				return false;
		} else if (!discntPrice.equals(other.discntPrice))
			return false;
		if (exportFlag == null) {
			if (other.exportFlag != null)
				return false;
		} else if (!exportFlag.equals(other.exportFlag))
			return false;
		if (expressBill == null) {
			if (other.expressBill != null)
				return false;
		} else if (!expressBill.equals(other.expressBill))
			return false;
		if (expressCom == null) {
			if (other.expressCom != null)
				return false;
		} else if (!expressCom.equals(other.expressCom))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (invoiceHead == null) {
			if (other.invoiceHead != null)
				return false;
		} else if (!invoiceHead.equals(other.invoiceHead))
			return false;
		if (isInvoice == null) {
			if (other.isInvoice != null)
				return false;
		} else if (!isInvoice.equals(other.isInvoice))
			return false;
		if (memo == null) {
			if (other.memo != null)
				return false;
		} else if (!memo.equals(other.memo))
			return false;
		if (orderNo == null) {
			if (other.orderNo != null)
				return false;
		} else if (!orderNo.equals(other.orderNo))
			return false;
		if (orginPrice == null) {
			if (other.orginPrice != null)
				return false;
		} else if (!orginPrice.equals(other.orginPrice))
			return false;
		if (payAt == null) {
			if (other.payAt != null)
				return false;
		} else if (!payAt.equals(other.payAt))
			return false;
		if (payWay == null) {
			if (other.payWay != null)
				return false;
		} else if (!payWay.equals(other.payWay))
			return false;
		if (receiverAddress == null) {
			if (other.receiverAddress != null)
				return false;
		} else if (!receiverAddress.equals(other.receiverAddress))
			return false;
		if (receiverName == null) {
			if (other.receiverName != null)
				return false;
		} else if (!receiverName.equals(other.receiverName))
			return false;
		if (receiverPhone == null) {
			if (other.receiverPhone != null)
				return false;
		} else if (!receiverPhone.equals(other.receiverPhone))
			return false;
		if (sellerId == null) {
			if (other.sellerId != null)
				return false;
		} else if (!sellerId.equals(other.sellerId))
			return false;
		if (sellerLogo == null) {
			if (other.sellerLogo != null)
				return false;
		} else if (!sellerLogo.equals(other.sellerLogo))
			return false;
		if (sellerName == null) {
			if (other.sellerName != null)
				return false;
		} else if (!sellerName.equals(other.sellerName))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (wxTradeNo == null) {
			if (other.wxTradeNo != null)
				return false;
		} else if (!wxTradeNo.equals(other.wxTradeNo))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("SCOrder [id=").append(id).append(", buyerId=")
				.append(buyerId).append(", sellerId=").append(sellerId)
				.append(", sellerName=").append(sellerName)
				.append(", sellerLogo=").append(sellerLogo)
				.append(", orderNo=").append(orderNo).append(", wxTradeNo=")
				.append(wxTradeNo).append(", orginPrice=").append(orginPrice)
				.append(", discntPrice=").append(discntPrice)
				.append(", receiverName=").append(receiverName)
				.append(", receiverPhone=").append(receiverPhone)
				.append(", receiverAddress=").append(receiverAddress)
				.append(", isInvoice=").append(isInvoice)
				.append(", invoiceHead=").append(invoiceHead).append(", memo=")
				.append(memo).append(", expressCom=").append(expressCom)
				.append(", expressBill=").append(expressBill)
				.append(", status=").append(status).append(", deleteFlag=")
				.append(deleteFlag).append(", createAt=").append(createAt)
				.append(", createUser=").append(createUser)
				.append(", updateAt=").append(updateAt).append(", updateUser=")
				.append(updateUser).append(", payWay=").append(payWay)
				.append(", payAt=").append(payAt).append(", exportFlag=")
				.append(exportFlag).append("]");
		return builder.toString();
	}
}